package com.maven.ioc.ioc;

public class Tire {
    private int size;
    private String color;

    public Tire(int size){
        this.size = size;
        System.out.println("轮胎尺⼨：" + size);
    }

    public Tire(int size,String color){
        this.size = size;
        this.color = color;
        System.out.println("尺寸："+size +" ,颜色：" + color);
    }

}
